package com.wuxia;

import com.wuxia.config.Myconfiguration;
import com.wuxia.domain.Person;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

//@SpringBootApplication
public class UsePermissionApplication {

    public static void main(String[] args) {
      //  SpringApplication.run(UsePermissionApplication.class, args);
        AnnotationConfigApplicationContext
                context=new AnnotationConfigApplicationContext(Myconfiguration.class);
        System.out.println(context.getBean(Person.class));
    }

}
